home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / 3DTOSHI2.ZIP / mpgfx / include / gfxinput.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-03-23  |  618 b   |  33 lines

  1.  
  2. // gfxinput.h
  3. //
  4. // Copyright (c) 1995 by Toshiaki Tsuji, all rights reserved.
  5.  
  6. #ifndef __GFXINPUT_H__
  7. #define __GFXINPUT_H__
  8.  
  9. #include "stdgfx.h"
  10. #include "gfxdev.h"
  11. #include "gfxevent.h"
  12.  
  13. class INPUT : public DCIClass
  14.   {
  15.     protected :
  16.       BOOLEAN KBDInstalled;
  17.       void InstallKBDHandler ();
  18.       void UnInstallKBDHandler ();
  19.  
  20.     public :
  21.       INPUT ();
  22.       virtual ~INPUT ();
  23.  
  24.       virtual BOOLEAN Init ();
  25.       virtual VOID DeInit ();
  26.       BOOLEAN IsKeyDown ( INT WhichKey );
  27.       VOID WaitForKey ( INT WhichKey );
  28.   }; // End of INPUT
  29.  
  30. extern INPUT Input;
  31.  
  32. #endif
  33.